{% extends "site_base.html" %}

{% load i18n %}

{% block head_title %}{% trans "Incorrect Code" %}{% endblock %}

{% block body %}
    <h1>{% trans "Incorrect Code" %}</h1>
    
    {% if code %}
    <p>{% blocktrans %}The code <b>{{ code }}</b> is incorrect.{% endblocktrans %}</p>
    {% else %}
    <p>{% blocktrans %}You must specify a code.{% endblocktrans %}</p>
    {% endif %}
    
    <p>{% trans "Try again:" %}</p>
    
    <form action="">
        <input type="text" name="code" />
        <input class="btn btn-primary" type="submit" value="Submit" />
    </form>
    
{% endblock %}